package de.openlaboratory.labhub.core.server.servlet.parameters;

import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class DefaultSettingsManager extends HttpServlet
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8231103330504089052L;

	public void init(ServletConfig config)
			throws ServletException
	{
		// super.init(config);
		
		System.out.println("init settings manager");
		try
		{
			ServletContext context = config.getServletContext();
			context.addListener(new DefaultSettingsManagerListener());
			System.out.println("Listener added");
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
	}
}
